package com.suyang.syt.service.interfaces;

import org.springframework.stereotype.Service;

import com.suyang.syt.model.OperateLog;
import com.suyang.syt.model.dto.AjaxObj;
import com.suyang.syt.model.dto.PagerEasyUI;

@Service
public interface OperateLogService {

	/**
	 * 添加日志记录
	 * 
	 * @param operateLog
	 * @throws Exception
	 */
	public void add(OperateLog operateLog);

	/**
	 * 批量删除操作记录对象
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public AjaxObj delete(String ids) throws Exception;

	/**
	 * 获取操作记录对象easyUI数据
	 * 
	 * @param page
	 * @param rows
	 * @param sort
	 * @param order
	 * @param operateLog
	 * @param createDate1
	 * @param createDate2
	 * @return
	 * @throws Exception
	 */
	public PagerEasyUI<OperateLog> listByEasyUI(int page, int rows, String sort, String order, String isException, OperateLog operateLog, String createDate1, String createDate2) throws Exception;

}
